package com.dstz.form.model.custsql;

import java.util.List;

import com.dstz.base.core.model.BaseModel;
import com.dstz.form.vo.SqlButtonVO;

/**
 * @description:自定义列表 的实体对象
 * @company:宇宙大魔王
 * @author:xianggang
 * @date:2019-08-31 12:02:34
 */
public class FormCustSql extends BaseModel {
	
	private static final long serialVersionUID = -6953342097092685510L;
	
	/** 名称 : name_ **/
	private String name;
	
	/** 编码 : code_ **/
	private String code;
	
	/** 类型 : type_ **/
	private Integer type;
	
	/** 描述 : content_ **/
	private String content;
	
	/** 数据源别名 : ds_keys_ **/
	private String dsKey;
	
	/** 是否默认查询 : init_query_ **/
	private Integer initQuery;
	
	/** 是否支持导出 : can_export_ **/
	private Integer canExport;
	
	/** 状态 : status_ **/
	private Integer status;
	
	/** 分页大小 : page_size_ **/
	private Integer pageSize;
	
	/** SQL : sql_content_ **/
	private String sqlContent;
	
	/** 查询条件 : conditions_ **/
	private String conditions;
	
	/** 表列表 : sql_table_list_ **/
	private String sqlTableList;
	
	/** 按钮列表 : buttons_ **/
	private String buttons;
	
	/** 查询条件列表 conditions对应的VO **/
	private List<SqlButtonVO> conditionList;
	
	/** 按钮列表 buttons对应的VO **/
	private List<SqlButtonVO> buttonList;
	
	/** 显示行号 : show_rows_num_ **/
	private Integer showRowsNum;
	
	/** CRUD : crud_ **/
	private String crud;
	
	/** 启用图表 : chart_ **/
	private Integer chart;
	
	/** 表名 : table_name_ **/
	private String tableName;
	
	/** 主键名称 : pk_name_ **/
	private String pkName;
	
	/** 扩展信息 : expand_ **/
	private String expand;
	
	/** 创建人名字 : creator_ **/
	private String creator;
	
	/** 更新人名字 : updator_ **/
	private String updator;
	
	/**关联表单***/
	private String formKey;
	
	private List<FormCustSqlFields> fieldsList;
	
	private FormCustSqlRelation custForm;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDsKey() {
		return dsKey;
	}

	public void setDsKey(String dsKey) {
		this.dsKey = dsKey;
	}

	public Integer getInitQuery() {
		return initQuery;
	}

	public void setInitQuery(Integer initQuery) {
		this.initQuery = initQuery;
	}

	public Integer getCanExport() {
		return canExport;
	}

	public void setCanExport(Integer canExport) {
		this.canExport = canExport;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public String getSqlContent() {
		return sqlContent;
	}

	public void setSqlContent(String sqlContent) {
		this.sqlContent = sqlContent;
	}

	public String getConditions() {
		return conditions;
	}

	public void setConditions(String conditions) {
		this.conditions = conditions;
	}

	public String getSqlTableList() {
		return sqlTableList;
	}

	public void setSqlTableList(String sqlTableList) {
		this.sqlTableList = sqlTableList;
	}

	public String getButtons() {
		return buttons;
	}

	public void setButtons(String buttons) {
		this.buttons = buttons;
	}

	public List<SqlButtonVO> getConditionList() {
		return conditionList;
	}

	public void setConditionList(List<SqlButtonVO> conditionList) {
		this.conditionList = conditionList;
	}

	public List<SqlButtonVO> getButtonList() {
		return buttonList;
	}

	public void setButtonList(List<SqlButtonVO> buttonList) {
		this.buttonList = buttonList;
	}

	public Integer getShowRowsNum() {
		return showRowsNum;
	}

	public void setShowRowsNum(Integer showRowsNum) {
		this.showRowsNum = showRowsNum;
	}

	public String getCrud() {
		return crud;
	}

	public void setCrud(String crud) {
		this.crud = crud;
	}

	public Integer getChart() {
		return chart;
	}

	public void setChart(Integer chart) {
		this.chart = chart;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getPkName() {
		return pkName;
	}

	public void setPkName(String pkName) {
		this.pkName = pkName;
	}

	public String getExpand() {
		return expand;
	}

	public void setExpand(String expand) {
		this.expand = expand;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getUpdator() {
		return updator;
	}

	public String getFormKey() {
		return formKey;
	}

	public void setFormKey(String formKey) {
		this.formKey = formKey;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public List<FormCustSqlFields> getFieldsList() {
		return fieldsList;
	}

	public void setFieldsList(List<FormCustSqlFields> fieldsList) {
		this.fieldsList = fieldsList;
	}

	public FormCustSqlRelation getCustForm() {
		return custForm;
	}

	public void setCustForm(FormCustSqlRelation custForm) {
		this.custForm = custForm;
	}
	
	
	
}